package com.aust.dynamicProxy.test1;

/**
 * 真实对象
 * 真实对象实现接口
 */
public class BigStar implements Star {
    private String name;

    public BigStar(String name) {
        this.name = name;
    }

    public String sing(String name) {
        System.out.println(this.name + " sing" + name);
        return "Thank you！";
    }

    public void dance() {
        System.out.println(this.name + " dance");
    }
}
